//
//  FrameHeader.h
//  HonlivApp
//
//  Created by admin on 2017/6/23.
//  Copyright © 2017年 honliv. All rights reserved.
//


#import "Singleton.h"
#import "User.h"

#import "LoginInfoTool.h"
#import "JsonHelper.h"
#import "CZAdditions.h"
#import "UIView+Extension.h"
#import "NSDate+Extension.h"

#import "AFNetworking.h"
#import "YYModel.h"
#import "SVProgressHUD.h"
#import "Factory.h"
#import "MJRefresh.h"
#import "UIImageView+WebCache.h"


#import "NetWorker.h"
#import "NetWorker+Login.h"
#import "NetWorker+Common.h"
#import "NetWorker+HXT.h"
#import "NetWorker+News.h"




#ifndef FrameHeader_h
#define FrameHeader_h

//距离左边边距为10
#define LeftDis 10

#define kScreenW   [UIScreen cz_screenWidth]
#define kScreenH   [UIScreen cz_screenHeight]
#define kFont(s) [UIFont systemFontOfSize:s]
#define BFont(s) [UIFont fontWithName:@"Helvetica-Bold" size:s]

//导航条颜色
#define BAR_BGCOLOR [UIColor cz_colorWithHex:0x2c313f]
//tableView的背景颜色
#define TB_COLOR RGB(235, 234, 241)
//主页背景颜色 [UIColor colorWithHexString:@"#f1f1f1"]
#define Main_BGCOLOR [UIColor colorWithRed:236/255.0 green:237/255.0 blue:236/255.0 alpha:1.0]

//那我们就让美工给出的 参数/255 得到一个0-1之间的数
#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]
//传入RGB三个参数，得到颜色
#define RGB(r,g,b) RGBA(r,g,b,1.f)


#endif /* FrameHeader_h */
